.image-view{
  height: 100vh;
  width: 100vw;
  .ant-modal-body{
    height: 100vh;
    width: 100%;
    padding: 30px 80px;
  }
  .ant-modal-content{
    box-shadow: none;
    background: transparent;
  }
  .ant-modal-close{
    color: white;
    right: 24px;
    top: 13px;
  }
  .attachment-title-area{
    height: 30px;
    width: 100%;
    text-align: center;
    color: $font-ghost;
  }
  .attachment-area{
    width: 100%;
    height: calc(100vh - 146px);
    overflow: hidden;
    text-align: center;
    line-height: calc(100vh - 146px);
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    img{
      -webkit-transform-origin: 50% 50%;
      -moz-transform-origin: 50% 50%;
      -ms-transform-origin: 50% 50%;
      -o-transform-origin: 50% 50%;
      transform-origin: 50% 50%;
      max-width: 100%;
      max-height: 100%;
      vertical-align: middle;
      position: relative;
    }
    iframe {
      width: 100%;
      height: 100%;
      border: none;
      background-color: $background-white;
    }
  }
  .attachment-operate{
    height: 42px;
    line-height: 42px;
    position: relative;
    text-align: center;
    color: white;
    img {
      display: inline-block;
      margin-left: 20px;
      width: 22px;
      height: 22px;
      cursor: pointer;
      opacity: .5;
      -webkit-transition: all .5s;
      -moz-transition: all .5s;
      -ms-transition: all .5s;
      -o-transition: all .5s;
      transition: all .5s;
      &:hover { opacity: 1; }
    }
  }
  .attachment-list{
    height: 44px;
    line-height: 44px;
    text-align: center;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    .attachment-list-icon {
      color: $font-disabled;
      font-size: 20px;
      vertical-align: top;
      cursor: pointer;
      line-height: 44px;
    }
    .attachment-list-icon:hover { color: white; }
    .attachment-list-icon.disabled:hover {
      color: $font-disabled;
      cursor: not-allowed;
    }
    .attachment-list-left-icon { margin-right: 20px; }
    .attachment-list-right-icon { margin-left: 10px; }
    .attachment-list-box {
      display: inline-block;
      white-space: nowrap;
      height: 44px;
      overflow-x: auto;
      overflow-y: hidden;
      box-sizing: border-box;
      max-width: 620px;
      margin: 0 auto;
      &-item {
        display: inline-block;
        position: relative;
        width: 44px;
        height: 44px;
        margin-right: 10px;
        cursor: pointer;
      }
      .checked-attachment {
        position: absolute;
        top: 14px;
        left: 14px;
        width: 14px;
        height: 14px;
        opacity: 1;
      }
      img{
        -webkit-transition: color .5s;
        -moz-transition: color .5s;
        -ms-transition: color .5s;
        -o-transition: color .5s;
        transition: color .5s;
        cursor: pointer;
        height: 42px;
        width: 42px;
        margin-right: 10px;
        position: relative;
        opacity: 0.5;
      }
      .selected-attachment{
        box-sizing: border-box;
        opacity: 1;
        border: 1px solid $default-color-focus;
      }
    }
  }
}
